package com.wq.gof.designer.state;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: wangqiang20995
 * @Date:2019/1/28
 * @Description:
 * @Resource:
 */
public abstract class AbstractLevel {

    protected UserRule userRule;

    protected List<String> priorities;

    public AbstractLevel(UserRule userRule){
        this.userRule = userRule;
        this.priorities = new ArrayList<>();

        this.priorities.add("上传文件");
        this.priorities.add("下载文件");
    }

    public List<String> getPriorities(){
        return this.priorities;
    }
    protected abstract List<String> showLevelPriority(UserVo userVo);

    protected abstract Integer currentLevel();
}
